package com.xzit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TeamService {
    private static final Logger logger = LoggerFactory.getLogger(TeamService.class);

    public void addTeam() {
        logger.info("添加球队操作开始");
        // ...
        logger.debug("执行了某个具体方法");
        logger.error("出现了某个异常", new RuntimeException("模拟异常"));
    }
}
